#ifndef MACXML_H
#define MACXML_H

#include <QObject>
#include <QRegExp>
#include <QStringList>
#include "BaseXml.h"

class MacXml : public BaseXml<MacXml>
{
public:

    friend class BaseXml<MacXml>;

    bool parser();
    bool modify(const QString &mac,const QString &registrant,const QByteArray &registrationDateData);
    bool clear();

    QString mac() const;

    QString registrant() const;

    QByteArray registrationDateBCD() const;

private:
    QString m_mac;
    QString m_registrant;
    QByteArray m_registrationDateBCD;

    explicit MacXml();

};

#endif // MACXML_H
